package de.pyranja.storage.core;

import java.io.IOException;
import java.io.InputStream;

import de.pyranja.storage.BlobFixture;

public class StagingFixture extends BlobFixture {

	public static final String HASH_ALGO = "MD5";

	protected Staging subject;

	protected String load() throws IOException {
		try (InputStream data = PAYLOAD.getInput()) {
			String id = subject.putUp(data).getId();
			return id;
		}
	}
}